<?php
/**
 * 前台应用控制层基类
 * 
 * @copyright 	Copyright (c) 2011 thinkapk.com All rights reserved.
 * @package 	ThinkAPK_Action
 * @link 		http://www.thinkapk.com/
 * @author 		richie <richbossman@163.com>
 * @version 	$Id: Web.class.php 7569 2011-06-01 12:49:11Z richie $
 * 
 */

class ThinkAPK_Action_Wap extends ThinkAPK_Action_Common {
	
	/**
	 * 初始化方法
	 *
	 */
	function _initialize(){
		$this->setConfig();	// 设置商城配置
		$this->setWapNav(); // 加载导航
	}
	
	//设置导航
	function setWapNav(){
		$nav = $this->getConfig('wapnav');
		$this->assign('main_nav', $nav['main']);
	}
}
?>